package com.example.pm.ending.server.module.admin;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class UpdateAdminEntityDTO implements Serializable {

    @ApiModelProperty(value = "管理员id",name = "id")
    @NotNull
    private Long id;
    @ApiModelProperty(value = "管理员用户名",name = "username")
    @NotNull
    private String username;
    @ApiModelProperty(value = "管理员密码",name = "password")
    @NotNull
    private String password;
    @ApiModelProperty(value = "管理员头像",name = "avatar")
    @NotNull
    private String avatar;
    @ApiModelProperty(value = "管理员昵称",name = "nickname")
    @NotNull
    private String nickname;
    @ApiModelProperty(value = "管理员手机号",name = "phone")
    @NotNull
    private String phone;
    @ApiModelProperty(value = "管理员角色id",name = "roleId")
    @NotNull
//    private Long roleIds;
    private Long[] roleIds;
    @ApiModelProperty(value = "修改时间",name = "gmtModified")
    private LocalDateTime gmtModified;

}
